#include "pcapauth.h"
#include <QDebug>

CPCapAuth::CPCapAuth(QObject *parent) : QObject(parent)
{
    qDebug("[CPCapAuth]constructed");
}

CPCapAuth::~CPCapAuth()
{
    qDebug("[CPCapAuth]destroyed");
}

QString CPCapAuth::type() const
{
    return m_type;
}

void CPCapAuth::setType(const QString &type)
{
    m_type = type;
    emit typeChanged();
}

QString CPCapAuth::username() const
{
    return m_username;
}

void CPCapAuth::setUsername(const QString &username)
{
    m_username = username;
    emit usernameChanged();
}

QString CPCapAuth::password() const
{
    return m_password;
}

void CPCapAuth::setPassword(const QString &password)
{
    m_password = password;
    emit passwordChanged();
}
